package com.ld.control.business.task.vo.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 任务实例表
 * </p>
 *
 * @author wangfeng
 * @since 2024-05-14
 */
@Data
@Schema(description = "TaskExampleRespVo")
public class TaskExampleRespVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "客户id")
    private Long customerId;

    @Schema(description = "任务模板id")
    private Long taskTmpId;

    @Schema(description = "任务编号")
    private String code;

    @Schema(description = "任务名称")
    private String name;

    @Schema(description = "样品总数量")
    private Integer sampleAllSize;

    @Schema(description = "任务开始时间")
    private Date startTime;

    @Schema(description = "任务结束时间")
    private Date endTime;

    @Schema(description = "预估时间，单位秒")
    private Integer estimatedTime;

    @Schema(description = "任务状态，见代码枚举")
    private Integer status;

    @Schema(description = "创建人id")
    private Long createBy;

    @Schema(description = "创建时间")
    private Date createTime;


    //////////////////////////////
    @Schema(description = "任务模板名称")
    private String taskTmpName;

    @Schema(description = "客户名称")
    private String customerName;


}
